﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for ISaleInfo
/// </summary>
public interface ISaleInfo
{
    IList<SaleInfo> GetAll();
    SaleInfo GetByID(int id);
    int Insert(SaleInfo sale);
    int Update(SaleInfo sale);
    int Delete(int saleID);
    DataSet SelectSaleInfo(Int64 postingID);
    DataSet SelectSoldPostings();
    DataSet GetSaleInfo();
    DataSet GetSaleDetails(int saleID);
    int UpdatePaid(SaleInfo sale);
}